package com.chenjt;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 注释：
 *
 * @author chenjt
 * @date 2021/11/5 15:14
 */
@SpringBootApplication
@EnableScheduling
public class MinioApplication extends SpringBootServletInitializer {



    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(MinioApplication.class);
    }
    public static void main(String[] args) {
        SpringApplication.run(MinioApplication.class, args);
    }




}
